export interface IGroupCard {
    groupName: string
    groupDesc: string
    groupId: number
    groupCover: string
}

export interface GroupUserList {
    userId: number
    nickname: string
    avatar: string
}

export interface GroupInfo {
    userId: number
    groupId: number
    groupCover: string
    groupName: string
    groupDesc: string
    leaderId: number
    memberCount: number
    groupInvitationCode: string
    userList: GroupUserList[]
}

export interface GroupBase {
    name: string
    desc: string
    cover: string
    invitation_code: string
    group_id: number,
    leader_id: number
}